<div class="menu hidden-xs">
    <div class="menu-profile">
        <div class="menu-logo"><a href="/"><span>Yaf-admin</span></a></div>
        <div class="clear"></div>
        <div class="menu-nav">
            <a class="col-sm-3 col-xs-3" href="<?= $moduleurl ?>"><i class="fa fa-home" title="首页"></i><span>首页</span></a>
            <a class="col-sm-3 col-xs-3" href="<?= $moduleurl ?>attachment/index/"><i class="fa fa-image" title="文件"></i><span>文件</span></a>
            <a class="col-sm-3 col-xs-3" href="<?= $moduleurl ?>cache/index/"><i class="fa fa-trash" title="缓存"></i><span>缓存</span></a>
            <a class="col-sm-3 col-xs-3" href="<?= $moduleurl ?>index/logout/"><i class="fa fa-power-off" title="退出"></i><span>退出</span></a>
        </div>
    </div>
    <div class="menu-permission">
        <ul>
            <li class="<?= $controllername == 'index' ? 'selected' : '' ?>"><a href="<?= $moduleurl ?>index/index/"><span class="fa fa-dashboard"></span> 控制台<span class="title">Dashboard</span></a></li>
        </ul>
        <p class="menu_p" data-toggle="collapse" href="#menu-basic">基本管理</p>
        <ul id="menu-basic">
            <li class="<?= $controllername == 'configvalue' ? 'selected' : '' ?>"><a href="<?= $moduleurl ?>configvalue/index/"><span class="fa fa-cogs"></span> 配置<span class="title">Configdata</span></a></li>
            <li class="<?= $controllername == 'attachment' ? 'selected' : '' ?>"><a href="<?= $moduleurl ?>attachment/index/"><span class="fa fa-file"></span> 附件<span class="title">Attachment</span></a></li>
            <li class="<?= $controllername == 'version' ? 'selected' : '' ?>"><a href="<?= $moduleurl ?>version/index/"><span class="fa fa-windows"></span> 版本控制<span class="title">Version</span></a></li>
            <li class="<?= $controllername == 'database' ? 'selected' : '' ?>"><a href="<?= $moduleurl ?>database/index/"><span class="fa fa-database"></span> 数据库<span class="title">Database</span></a></li>
            <li class="<?= $controllername == 'admin' ? 'selected' : '' ?>"><a href="<?= $moduleurl ?>admin/index/"><span class="fa fa-user"></span> 管理员<span class="title">Administrator</span></a></li>
        </ul>

    </div>
    <div class="clear"></div>
</div>